projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b680ecd
)
(c-save-buffer-state): Bind buffer-file-name and buffer-file-truename to
author
Alan Mackenzie
<acm@muc.de>
Sat, 26 Jan 2008 20:28:46 +0000
(20:28 +0000)
committer
Alan Mackenzie
<acm@muc.de>
Sat, 26 Jan 2008 20:28:46 +0000
(20:28 +0000)
nil, to prevent primitives generating "buffer is read only" messages.
lisp/progmodes/cc-defs.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/cc-defs.el
b/lisp/progmodes/cc-defs.el
index 288aca687aa8e7a3670c63a9e5c6869ddcd68e94..9ef8db7548f7eee6ad126f82aa3cfc4efeea1658 100644
(file)
--- a/
lisp/progmodes/cc-defs.el
+++ b/
lisp/progmodes/cc-defs.el
@@
-425,6
+425,8
@@
The return value is the value of the last form in BODY."
(inhibit-read-only t) (inhibit-point-motion-hooks t)
before-change-functions after-change-functions
deactivate-mark
+ buffer-file-name buffer-file-truename ; Prevent primitives checking
+ ; for file modification
,@varlist)
(unwind-protect
(progn ,@body)